<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<link rel="stylesheet" type="text/css" href="css\box_style.css">
	<link rel="stylesheet" href="css/index.css">
	<script src="js/jquery.min.js"></script>
	<title>重庆农气-运行监控子系统</title>
</head>
<body>
	<div class="header">
		<div class="top"></div>
		<ul class="nav">
			<li><a href="index.html" class="click">首页</a></li>
			<li><a href="temp.html">气温监测</a></li>
			<li><a href="precipitation.html">降水监测</a></li>
			<li><a href="soil.html">墒情监测</a></li>
			<li><a href="product.html">产品统计</a></li>
			<li><a href="vip.html">大户分布</a></li>
			<li><a href="farmland.html">农田分布</a></li>
			<li><a href="agrinfo.html">农情分布</a></li>
			<li><a href="expert.html">专家风采</a></li>
			<li><a href="state.html">运行状态</a></li>
		</ul>
		<div class="login">
			<a href="javascript:void(0);" id="login">登录</a>
			<a href="javascript:void(0);" id="exit">退出登录</a>
		</div>
	</div>
	<div class="main">
		<div class="content">
			<div class="tip">今日暂无信息！</div>
			<div class="statistics_box">
				<div class="slider">
					<div class="head">农业气象实况</div>
					<div class="cont">
						<div class="heads">
							<p>24小时实况<span></span></p>
						</div>
						<div class="wrap">
							<ul>
								<li><a href="javascript:void(0)"><img src="" /></a></li>
								<li><a href="javascript:void(0)"><img src="" /></a></li>
								<li><a href="javascript:void(0)"><img src="" /></a></li>
							</ul>
							<div class="shadow"></div>
							<div class="icon">
								<a href="javascript:void(0)" class="clks">1</a>
								<a href="javascript:void(0)">2</a>
								<a href="javascript:void(0)">3</a>
							</div>
						</div>
					</div>
				</div>
				<div class="statistics_list">
					<div class="head">服务情况监控</div>
					<div class="cont">
						<div><h>名称</h><p>总数</p><span>本月新增</span></div>
						<ul>
							<li class="meteorologicalDisaster"><h>农业气象灾害区划产品</h><p>15</p><span>0</span></li>
							<li class="climateDivision"><h>农业气候区划产品</h><p>21</p><span>0</span></li>
							<li class="publicproduct"><h>公共服务产品</h><p>0</p><span>0</span></li>
							<li class="expertExperience"><h>专家经验产品</h><p>0</p><span>0</span></li>
							<li class="modelProducts"><h>模型产品</h><p>0</p><span>0</span></li>
							
							<li class="userRegistration"><h>注册用户</h><p>0</p><span>0</span></li>
							<li class="expertRegistration"><h>注册专家</h><p>0</p><span>0</span></li>
							<li class="farmerRegistration"><h>注册大户</h><p>0</p><span>0</span></li>
							<li class="farmersStation"><h>注册企业</h><p>0</p><span>0</span></li>

							<li class="farmersAdvisoryinfo"><h>大户咨询</h><p>0</p><span>0</span></li>							
							<li class="expertsAreActive"><h>专家活跃</h><p>0</p><span>0</span></li>
							<li class="expertInteraction"><h>专家解答</h><p>0</p><span>0</span></li>

							<li class="agriculturalUpload"><h>农情上传</h><p>0</p><span>0</span></li>
							<li class="serviceFarmland"><h>注册农田</h><p>0</p><span>0</span></li>

						</ul>
					</div>
				</div>
			</div>
			<div class="list_box">
				<div class="expert_box">
					<div class="head">专家最新资讯情况</div>
					<div class="cont">
						<ul>
							
						</ul>
					</div>
				</div>
				<div class="product_box">
					<div class="head">最新产品发布情况</div>
					<div class="model_product">
						<div class="head">模型产品<!-- <a href="javascript:void(0);">更多</a> --></div>
						<div class="cont">
							<ul>
								
							</ul>
						</div>
					</div>
					<div class="expert_product">
						<div class="head">专家产品<!-- <a href="javascript:void(0);">更多</a> --></div>
						<div class="cont">
							<ul>
								
							</ul>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="footer">2015~2017 © 重庆市气象局</div>
</body>
	<!-- <script src="js/excanvas.min.js"></script>
	<script src="js/jquery.ui.custom.js"></script>
	<script src="js/bootstrap.min.js"></script>
	<script src="js/jquery.flot.min.js"></script>
	<script src="js/jquery.flot.resize.min.js"></script>
	<script src="js/jquery.flot.pie.min.js"></script>
	<script src="js/jquery.peity.min.js"></script>
	<script src="js/fullcalendar.min.js"></script>
	<script src="js/matrix.js"></script>
	<script src="js/matrix.dashboard.js"></script>
	<script src="js/jquery.gritter.min.js"></script>
	<script src="js/matrix.chat.js"></script>
	<script src="js/jquery.validate.js"></script>
	<script src="js/matrix.form_validation.js"></script>
	<script src="js/jquery.wizard.js"></script>
	<script src="js/jquery.uniform.js"></script> -->
	<!-- <script src="js/select2.min.js"></script> -->
	<!-- <script src="js/matrix.popover.js"></script> -->
	<!-- <script src="js/jquery.dataTables.min.js"></script> -->
	<!-- <script src="js/matrix.tables.js"></script> -->
	<script src="js/monitor.js"></script>
	<!-- <script src="js/monitor_slider.js"></script> -->
	<!-- <script src="js/Chart.bundle.js"></script> -->
	<script src="js/jquery.cookie.js"></script>
	<script src="js/jquery.XYTipsWindow.2.8.js"></script>
	<!-- <script src="js/jquery-1.9.1.min.js"></script> -->
	<script src="js/index.js"></script>
	<script type="text/javascript">
		$(document).ready(function() {
			var monitor = new Monitor();
			var userinfo = monitor.getUserInfo();
			if (userinfo.loginname == 'guest') {
				$("#login").show();
				$("#exit").hide();
				$("#login").click(function() {
					$.XYTipsWindow({
						___title: "登录",
						___content: "iframe:login.html",
						___width: "460",
						___height: "150",
						___showbg: true,
						___drag: "___boxTitle"
					});
				});
			}else{
				$("#login").hide();
				$("#exit").show();
				if (userinfo.areacode == '50') {
					sessionStorage.setItem('codeMark', '50');
					monitor.getLoginName();
				}else{
					if (sessionStorage.codeMark == '50') {
						monitor.getLoginName();
					}
				}
			}
			$("#exit").click(function() {
				sessionStorage.clear();
				$("#userPsw").remove();
				monitor.loginout();
			});
			monitor.initIndex();
			//滚动图
			monitor.showHoureTemp();
			monitor.showHourePre();
			monitor.showHoureSoil();
			monitor.getBizCount();
			monitor.getExpertsI();
			//专家产品
			monitor.getProfproduct();
			//模型产品
			monitor.getExpertproduct();
			var logo_W_proportion = 333/ 1673;			//logo宽度比例
			var logo_H_proportion = 51 / 333;			//logo高度比例
			var banner_H_proportion = 198 / 1673;		//banner高度比例
			var width = $("body").width();				//页面宽度
			var logo_W = width * logo_W_proportion;		//logo宽度
			var logo_H = $(".logo").height();			//logo高度
			var banner_H = width * banner_H_proportion; //banner高度
			$(".logo, .logo img").css("width", logo_W);
			$(".logo").css("margin-top", -(logo_H / 2));
			$(".banner, .banner img").css("height", banner_H);
			var widget = $(".content .widget-content").width();
				widHid = widget * 0.98
				imgWid = $(".content .widget-content img").width();
			$(".content .widget-content").css('height', widHid);
		});
	</script>
</html>